package com.sh.守护线程;

/**
 * @Auther: sh
 * @Version 1.0
 * @Description:
 */
public class MyThread1 extends Thread {
    @Override
    public void run() {
        for (int i = 0; i < 10; i++) {
            System.out.println(Thread.currentThread().getName() + "运行了" + i);
        }
    }
}

